package com.briup.jz.service;

import java.util.List;

import com.briup.jz.bean.BaseRolePrivilege;
import com.briup.jz.bean.extend.BaseRolePrivilegeExtend;
import com.briup.jz.utils.CustomerException;

public interface BaseRolePrivilegeService {

	void saveOrUpdate(BaseRolePrivilege baseRolePrivilege) throws CustomerException;

	List<BaseRolePrivilege> query(Long name);

	void deleteById(long id) throws CustomerException;
	
	List<BaseRolePrivilegeExtend> queryCascade(Long privilegeId);
}
